﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "EX_MESSAGE", DisableSyncStructure = true)]
	public partial class EXMESSAGE {

		[JsonProperty, Column(Name = "MESSAGE_ID", IsPrimary = true)]
		public uint MESSAGEID { get; set; }

		/// <summary>
		/// 业务Id
		/// </summary>
		[JsonProperty, Column(Name = "BUSSINESS_ID")]
		public uint? BUSSINESSID { get; set; }

		[JsonProperty, Column(Name = "CREATE_DATE", DbType = "DATE(7)")]
		public DateTime? CREATEDATE { get; set; }

		[JsonProperty, Column(Name = "CREATE_USER")]
		public uint? CREATEUSER { get; set; }

		[JsonProperty, Column(Name = "IS_USE", DbType = "VARCHAR2(2 BYTE)")]
		public string ISUSE { get; set; }

		/// <summary>
		/// 对应模块
		/// </summary>
		[JsonProperty, Column(Name = "MENU_ID")]
		public uint? MENUID { get; set; }

		/// <summary>
		/// 标题
		/// </summary>
		[JsonProperty, Column(Name = "MESSAGE_TITLE", DbType = "VARCHAR2(200 BYTE)")]
		public string MESSAGETITLE { get; set; }

		/// <summary>
		/// 消息类型
		/// </summary>
		[JsonProperty, Column(Name = "MESSAGE_TYPE", DbType = "VARCHAR2(2 BYTE)")]
		public string MESSAGETYPE { get; set; }

		/// <summary>
		/// 连接url
		/// </summary>
		[JsonProperty, Column(Name = "MESSAGE_URL", DbType = "VARCHAR2(100 BYTE)")]
		public string MESSAGEURL { get; set; }

		/// <summary>
		/// 发送时间
		/// </summary>
		[JsonProperty, Column(Name = "SEND_TIME", DbType = "DATE(7)")]
		public DateTime? SENDTIME { get; set; }

	}

}
